home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 12494 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.5 KB

  1. Path: ariel.ucs.unimelb.edu.au!nicks
  2. From: nicks@ariel.ucs.unimelb.EDU.AU (Nick Smith)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: Manipulating .wav files in C
  5. Date: 20 Mar 96 06:33:16 GMT
  6. Organization: The University of Melbourne
  7. Message-ID: <nicks.827303596@ariel.ucs.unimelb.edu.au>
  8. References: <4inae3$bhp@news.cc.oberlin.edu>
  9. NNTP-Posting-Host: ariel.ucs.unimelb.edu.au
  10.  
  11. mmccrack@occs.cs.oberlin.edu (Michael McCracken) writes:
  12.  
  13. >        Can anyone tell me what the structure of a .wav file is so I
  14. >can write C code to manipulate it? Any helpful information would be
  15. >appreciated.
  16. >                                -Mike
  17.  
  18. The way to manipulate the .wav files is probably to use the standard
  19. Windows API calls to do it.  You didn't mention if you were looking to
  20. write in Win16 or Win32, so what I'd do is check out the documentation
  21. from MS Press on the API calls.  I've got the Win32 programmer's reference
  22. manual and in volume 2, there is information about the "High-level audio"
  23. API in chapter 72.  I've tried it just to see that I can play a simple
  24. .wav file in my application.
  25.  
  26. =============================================================
  27. = Nick Smith - Technical Consultant - Century Analysis, Inc.=
  28. = Specializing in Client-Server Application Integration     =
  29. = 110 Albert Street, Suite 3                                =
  30. = East Melbourne, VIC  3002                                 =
  31. = Australia                  nicks@ariel.ucs.unimelb.edu.au =
  32. = Good, better, best.  See an improvement, use it!          =
  33. =============================================================
  34.